package commands;

import org.jibble.pircbot.PircBot;

public class Time implements Command {

	public String getCommandName() {
		return "time";
	}

	public void execCommand(String channel, String sender, String login,
			String hostname, String message, PircBot bot) {
		String time = new java.util.Date().toString();
		bot.sendMessage(channel, sender + ": The time is now " + time);
	}
}
